/*
 * 英才汇硕信息科技有限公司 拥有本软件版 2021  并保留所有权利
 * Copyright 2021, YCHS Information&Science Technology Co.,Ltd,
 * All rights reserved.
 */
package com.yckj.lawyermanager.dongao.service;

import com.yckj.lawyermanager.dongao.entity.Lawyer;

import java.util.List;

/**
 * 律师档案操作：创建，查询，修改，删除
 * @author junjun * @version 1.0
 */
public interface LawyerService {
    /**
     * 删除律师
     * @param lawyerid
     * @return 律师集合
     */
    public int removeLawyer(int lawyerid);

    /**
     * 查询所有律师
     * @return 律师集合
     */
    public List<Lawyer> findLawyer();
    /**
     * 添加律师
     * @param lawyer 律师对象
     * @return 添加成功返回1，否则返0
     */
    public int addLawyer(Lawyer lawyer);
}